package k2_oop.p8_javaUtil;

import java.time.LocalDateTime;

public class UseLocalDateTime {
    public static void main(String[] args) {
        LocalDateTime currentDateTime = LocalDateTime.now();
        System.out.println(LocalDateTime.of(2060, 8, 8, 2, 2, 2));
        System.out.println(currentDateTime.getHour());
        System.out.println(currentDateTime.withMonth(4));
        System.out.println(currentDateTime.plusHours(5));
        System.out.println(currentDateTime.minusDays(3));

    }
}
